{extend name="public/common-base" /}

{block name="main"}
<script type="text/javascript">
	jQuery(".child-mall .slideBox").slide({mainCell:".bd ul",autoPlay:true});
</script>

<div class="in-public Shopping-Mall">


	<script type="text/javascript">
		jQuery(".Shopping-Mall-2 .picScroll-left").slide({titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"left",autoPlay:true,vis:6,trigger:"click"});
	</script>
	<!---->

	<div class="Shopping-Mall-3">
		<h2 class="Shopping-Mall-title-1 clearfix">
			<strong>首页</strong>
			<span></span>
			<p>积分中心</p>
		</h2>

		<div class="Shopping-Mall-3-1 clearfix">

			<div class="Shopping-Mall-3-1-left">
				<h2 class="Shopping-Mall-3-1-left-title-1">
					<strong>推荐商品</strong>
				</h2>

				<ul class="Shopping-Mall-3-1-left-1">
					<?php if(!empty($reCommendGoods)){ foreach($reCommendGoods as $k=>$v){?>
					<li>
						<a href="<?=url('index/goods/goodsDetail',['goods_id'=>$v['goods_id']])?>">
							<span style="width:218px;height:176px;">
								<img style="height:176px;" src="/<?=$v['original_img']?>" alt=""  />
								<i></i>
							</span>
							<h2><?=$v['goods_name']?></h2>
							<h3 class="clearfix">
								<strong>
									¥ <?=$v['shop_price']?>
								</strong>
							</h3>
						</a>
					</li>
					<?php }} ?>
				</ul>

			</div>

			<div class="Shopping-Mall-3-1-right">

				<div class="Shopping-Mall-3-1-right-3">
					<ul class="clearfix">
						<?php if(!empty($goods)){foreach($goods as $k=>$v){?>
						<li>
							<div class="Shopping-Mall-3-1-right-3-1">
								<a href="<?=url('index/goods/goodsDetail',['goods_id'=>$v['goods_id']])?>">
									<span class="Shopping-Mall-3-1-right-3-2">
										<span></span>
										<img src="/<?=$v['original_img']?>" alt="" />
									</span>
									<div>
										<strong class="clearfix">
											<span>¥ <?=$v['shop_price']?>+<?=$v['exchange_integral']?>积分</span>
										</strong>
										<h2><?=$v['goods_name']?></h2>
										<h3 class="clearfix">
											<span><?=$v['getShop']['shop_name']?></span>
											<strong><?=$v['getShop']['shop_type_name']?></strong>
										</h3>
									</div>
								</a>

								<h4 class="clearfix">
									<a href="<?=url('index/goods/goodsDetail',['goods_id'=>$v['goods_id']])?>" class="Shopping-Mall-3-1-right-3-4 active-23">立即换购</a>
									<!--active-22 active-22 表示用户登陆后已经收藏或将该商品加入例如购物车。添加该样式-->
								</h4>
							</div>
						</li>
						<?php }} ?>
					</ul>
				</div>

				<div class="Shopping-Mall-3-1-right-4 clearfix">
					<div class="fy clearfix" id="clipDIV">
						<!--
						<b class="BORDER">1</b>
						<a class="BORDER" href="/ziliaoxiazai/falvfagui/index_2.html">2</a>
						<a class="BORDER" href="/ziliaoxiazai/falvfagui/index_3.html">3</a>
						<a class="BORDER" href="/ziliaoxiazai/falvfagui/index_2.html">下一页</a>
						<a class="BORDER" href="/ziliaoxiazai/falvfagui/index_3.html">尾页</a>
						-->
						<?=$goods->render()?>
					</div>
				</div>

				<div class="tc-z">
					<div class="tc-z-1">
						<form>
							<a class="active-25"></a>
							<h3 class="clearfix">
								<a href="#">没有账号？去注册 》</a>
							</h3>
							<h2>
								<strong>账户登录</strong>
								<span><i></i></span>
							</h2>
							<ul>
								<li class="tc-z-2 clearfix">
									<span></span>
									<input type="text" name="" placeholder="邮箱/用户名/已认证手机" />
								</li>
								<li class="tc-z-3 clearfix">
									<span></span>
									<input type="text" name="" placeholder="密码" />
								</li>
							</ul>
							<div class="tc-z-4 clearfix">
											<span class="clearfix">
												<input type="radio" name="a03" id="check3">
							        			<label for="check3">仅显示有货</label>
											</span>
								<a href="#">忘记密码</a>
							</div>
							<button type="submit">登录</button>
							<a class="a07" href="#">其他登录方式</a>
						</form>
					</div>
				</div>

				<script type="text/javascript">
					$(document).ready(function(){
						$(".active-25").click(function(){
							$(".tc-z").toggle();
						});
					});
				</script>

			</div>

		</div>

	</div>

</div>
{/block}